package com.sensorsdata.analytics.android.sdk.java_websocket.framing;

import java.nio.ByteBuffer;

import com.sensorsdata.analytics.android.sdk.java_websocket.exceptions.InvalidDataException;

public interface FrameBuilder extends Framedata {

    public abstract void setFin(boolean fin);

    public abstract void setOptcode(Opcode optcode);

    public abstract void setPayload(ByteBuffer payload) throws InvalidDataException;

    public abstract void setTransferemasked(boolean transferemasked);

}